import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/store'
import VueLazyLoad from 'vue-lazyload'

Vue.config.productionTip = false

// 配置BUS总线
Vue.prototype.$bus = new Vue

// 配置懒加载
Vue.use(VueLazyLoad, {
  loading: require('assets/img/common/placeholder.png')
})

// 导入字体图标文件
import 'assets/font/iconfont.css'
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
